<template>
  <div class="system_pc">
    <el-card class="section">
      <h1>网站About</h1>
      <el-form :model="aboutInfo" status-icon ref="aboutInfo" label-width="160px" class="demo-bodyInfo">
        <el-form-item label="关于我" prop="website_name">
          <el-input v-model="aboutInfo.self"></el-input>
        </el-form-item>
        <el-form-item label="关于网站" prop="website">
          <el-input v-model="aboutInfo.website"></el-input>
        </el-form-item>
        <el-form-item label="关于未来" prop="website_icp">
          <el-input v-model="aboutInfo.future"></el-input>
        </el-form-item>
        <el-form-item>
          <el-button type="primary" @click="">修改</el-button>
        </el-form-item>
      </el-form>
    </el-card>

    <el-card class="section">
      <h1>网站主体信息</h1>
      <el-form :model="bodyInfo" status-icon ref="bodyInfo" label-width="160px" class="demo-bodyInfo">
        <el-form-item label="网站名" prop="website_name">
          <el-input v-model="bodyInfo.website_name"></el-input>
        </el-form-item>
        <el-form-item label="域名" prop="website">
          <el-input v-model="bodyInfo.website"></el-input>
        </el-form-item>
        <el-form-item label="ICP备案号" prop="website_icp">
          <el-input v-model="bodyInfo.website_icp"></el-input>
        </el-form-item>
        <el-form-item label="公网备案号" prop="website_public_network">
          <el-input v-model="bodyInfo.website_public_network"></el-input>
        </el-form-item>
        <el-form-item label="网站logo" prop="logo">
          <el-input v-model="bodyInfo.logo"></el-input>
        </el-form-item>
        <el-form-item label="网站巨幕" prop="jumbotron">
          <el-input v-model="bodyInfo.jumbotron"></el-input>
        </el-form-item>
        <el-form-item label="巨幕标题" prop="jumbotron_title">
          <el-input v-model="bodyInfo.jumbotron_title"></el-input>
        </el-form-item>
        <el-form-item label="巨幕文字" prop="jumbotron_txt">
          <el-input v-model="bodyInfo.jumbotron_txt"></el-input>
        </el-form-item>
        <el-form-item label="网站所有人" prop="administrator">
          <el-input v-model="bodyInfo.administrator"></el-input>
        </el-form-item>
        <el-form-item label="email" prop="email">
          <el-input v-model="bodyInfo.email"></el-input>
        </el-form-item>
        <el-form-item>
          <el-button type="primary" @click="">修改</el-button>
        </el-form-item>
      </el-form>
    </el-card>

    <el-card class="section">
      <h1>网站SEO</h1>
      <el-form :model="seoInfo" status-icon ref="bodyInfo" label-width="160px" class="demo-bodyInfo">
        <el-form-item label="title" prop="title">
          <el-input v-model="seoInfo.title"></el-input>
        </el-form-item>
        <el-form-item label="keywords" prop="keywords">
          <el-input v-model="seoInfo.keywords"></el-input>
        </el-form-item>
        <el-form-item label="description" prop="description">
          <el-input v-model="seoInfo.description"></el-input>
        </el-form-item>
        <el-form-item label="ico" prop="ico">
          <el-input v-model="seoInfo.ico"></el-input>
        </el-form-item>
        <el-form-item>
          <el-button type="primary" @click="">修改</el-button>
        </el-form-item>
      </el-form>
    </el-card>

    <el-card class="section">
      <h1>网站权限</h1>
      <el-form :model="bodyInfo" status-icon ref="bodyInfo" label-width="160px" class="demo-bodyInfo">
        <el-form-item label="用户评论需要审核" prop="website_name">
          <el-input v-model="bodyInfo.website_name"></el-input>
        </el-form-item>
        <el-form-item label="用户留言需要审核" prop="domin_name">
          <el-input v-model="bodyInfo.domin_name"></el-input>
        </el-form-item>
        <el-form-item label="栏目访问" prop="domin_name">
          <el-input v-model="bodyInfo.domin_name"></el-input>
        </el-form-item>
        <el-form-item>
          <el-button type="primary" @click="">修改</el-button>
        </el-form-item>
      </el-form>
    </el-card>
  </div>
</template>

<script>
export default {
  name: 'SystemPc',
  data() {
    return {
      aboutInfo: {
        self: '',
        website: '',
        future: '',
      },
      bodyInfo: {
        website_name: 'hen(曾伟浩)', // 网站名
        website: 'www.zengweihao.cn', // 域名
        website_icp: '', // ICP备案号
        website_public_network: '', // 公网备案号
        logo: '', // logo
        jumbotron: '', // 首页巨幕
        jumbotron_title: '', // 巨幕标题
        jumbotron_txt: '', // 巨幕文字
        administrator: 'hen', // 博主
        email: '', // 博主联系方式
      },
      seoInfo: {
        title: '',
        keywords: '',
        description: '',
        ico: '', // ico图
      },
      authInfo: {},
    }
  },
  mounted() {},
  methods: {},
}
</script>

<style lang="scss" scoped>
.section {
  margin-bottom: 14px;
}
</style>